package com.krtech.wecard.module.pub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 应用管理
 */
@ApiModel(value = "com-krtech-wecard-module-pub-entity-ApplicationManagement")
@Data
@TableName(value = "pub_application_management")
public class ApplicationManagement implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 应用状态 0:关闭，1:启动
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "应用状态 0:关闭，1:启动")
    private Integer status;

    /**
     * 应用名
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "应用名")
    private String name;

    /**
     * 应用code
     */
    @TableField(value = "code")
    @ApiModelProperty(value = "应用code")
    private String code;

    /**
     * 图片地址
     */
    @TableField(value = "pic_url")
    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    /**
     * 应用简介
     */
    @TableField(value = "Introduction")
    @ApiModelProperty(value = "应用简介")
    private String introduction;

    /**
     * app_key
     */
    @TableField(value = "app_key")
    @ApiModelProperty(value = "app_key")
    private String appKey;

    /**
     * app_secret
     */
    @TableField(value = "app_secret")
    @ApiModelProperty(value = "app_secret")
    private String appSecret;

    /**
     * 业务域名
     */
    @TableField(value = "business_domain")
    @ApiModelProperty(value = "业务域名")
    private String businessDomain;

    /**
     * 应用形态
     */
    @TableField(value = "application_form")
    @ApiModelProperty(value = "应用形态")
    private String applicationForm;

    /**
     * 应用地址
     */
    @TableField(value = "application_url")
    @ApiModelProperty(value = "应用地址")
    private String applicationUrl;

    /**
     * 后台管理方式
     */
    @TableField(value = "back_manage_function")
    @ApiModelProperty(value = "后台管理方式")
    private String backManageFunction;

    /**
     * 软删除
     */
    @TableField(value = "del_flag")
    @ApiModelProperty(value = "软删除")
    private String delFlag;

    /**
     * 0:h5,1:小程序
     */
    @TableField(value = "type")
    @ApiModelProperty(value = "0:h5,1:小程序")
    private Integer type;

    /**
     * 小程序类型的appid
     */
    @TableField(value = "app_id")
    @ApiModelProperty(value = "小程序类型的appid")
    private String appId;

    /**
     * 允许部门
     */
    @TableField(value = "allow_dept_list")
    @ApiModelProperty(value = "允许部门")
    private String allowDeptList;

    /**
     * 允许人员
     */
    @TableField(value = "allow_user_list")
    @ApiModelProperty(value = "允许人员")
    private String allowUserList;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_STATUS = "status";

    public static final String COL_NAME = "name";

    public static final String COL_CODE = "code";

    public static final String COL_PIC_URL = "pic_url";

    public static final String COL_INTRODUCTION = "Introduction";

    public static final String COL_APP_KEY = "app_key";

    public static final String COL_APP_SECRET = "app_secret";

    public static final String COL_BUSINESS_DOMAIN = "business_domain";

    public static final String COL_APPLICATION_FORM = "application_form";

    public static final String COL_APPLICATION_URL = "application_url";

    public static final String COL_BACK_MANAGE_FUNCTION = "back_manage_function";

    public static final String COL_DEL_FLAG = "del_flag";

    public static final String COL_TYPE = "type";

    public static final String COL_APP_ID = "app_id";

    public static final String COL_ALLOW_DEPT_LIST = "allow_dept_list";

    public static final String COL_ALLOW_USER_LIST = "allow_user_list";
}